package com.linewell.system.service;

import java.util.List;

import com.linewell.system.model.SysCustomer;
import com.linewell.system.model.SysDepartment;
import com.linewell.system.pagemodel.DataGrid;
import com.linewell.system.pagemodel.PageHelper;
/**
 * sysCustomer的 CRUD接口
 * */
public interface ISysCustomerService {
	
	public boolean save(SysCustomer sysCustomer);
	public List<SysCustomer> findAll();
	//public DataGrid datagrid(PageHelper ph);
	public boolean deleteAll(String ids);
	public boolean removeAll(String ids);
	public List<SysCustomer> getUser(String id);
	public boolean update(SysCustomer sysCustomer);
	public List<SysDepartment> getDep();
	DataGrid datagrid(PageHelper ph, SysCustomer sysCustomer, Integer integer);
	public boolean saveOrUpdate(SysCustomer sysCustomer);
	public boolean deleteByOpenId(String fromUserName);
	public List<SysCustomer> getUserByOpenId(String fromUserName);
	public boolean saveUpdate(SysCustomer c, String fromUserName);
	public void updateSubCribe(String fromUserName);
	
}
